package com.service.imp;

import java.util.List;

import com.mapper.BaseDictMapper;
import com.pojo.BaseDict;
import com.service.BaseDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 数据字典Service接口实现类
 */
@Service("baseDictService")
public class BaseDictServiceImpl implements BaseDictService {

	@Autowired
	private BaseDictMapper baseDictMapper;

	//根据类别代码查询数据字典
	public List<BaseDict> findBaseDictByTypeCode(String typecode) {
		return baseDictMapper.selectBaseDictByTypeCode(typecode);
	}
}
